home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 60914 / 60914.xpi / chrome / content / personasrotator.xul < prev    next >
Extensible Markup Language  |  2010-01-22  |  5KB  |  98 lines

  1. ∩╗┐<?xml version="1.0"?>
  2. <!DOCTYPE window SYSTEM "chrome://personasrotator/locale/personasrotator.dtd">
  3. <?xml-stylesheet href="chrome://personasrotator/skin/personasrotator.css" type="text/css"?>
  4.  
  5. <overlay id="personasrotator-overlay"
  6.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.     xmlns:html="http://www.w3.org/1999/xhtml">
  8.  
  9.     <script type="application/x-javascript" src="chrome://personasrotator/content/personasrotatorrdf.js"/>    
  10.     <script type="application/x-javascript" src="chrome://personasrotator/content/personasrotatorfileio.js"/>
  11.     <script type="application/x-javascript" src="chrome://personasrotator/content/personasrotator.js"/>
  12.  
  13. <!--
  14.     
  15.     <statusbar id="status-bar">
  16.  
  17.         <statusbarpanel id="personasrotator-statusbar-panel" 
  18.                         tooltiptext="&personasrotator.RightClickForMenu;"
  19.                         context="personasrotator-statusbar-menu">
  20.                             
  21.             <image id="personasrotator-statusbar-icon" />
  22.             
  23.             <html:canvas  id="PersonasRotatorMainCanvas" width="138" height="109"></html:canvas>
  24.  
  25.             <stringbundleset>
  26.             
  27.                 <stringbundle id="personasrotator-strings" src="chrome://personasrotator/locale/personasrotator.properties"/>
  28.             
  29.             </stringbundleset>
  30.             
  31.             <menupopup id="personasrotator-statusbar-menu">
  32.                 
  33.                 <menuitem label="&personasrotator.SetInterval;" tooltiptext="&personasrotator.SetInterval;" oncommand="window.open('chrome://personasrotator/content/setinterval.xul','PersonasRotatorOptions'+Math.random(),'chrome,centerscreen,modal');" />
  34.                 
  35.                 <menuitem label="&personasrotator.DisableRotation;" tooltiptext="Disable Rotation" id="personasrotator-disablerotation" oncommand="PersonasRotator.disableRotation()" />
  36.                 
  37.                 <menuitem label="&personasrotator.EnableRotation;" tooltiptext="Enable Rotation" id="personasrotator-enablerotation" oncommand="PersonasRotator.enableRotation()" />
  38.                     
  39.                 <menuseparator />
  40.                     
  41.                 <menuitem label="&personasrotator.InstallMorePersonas;" tooltiptext="&personasrotator.InstallMorePersonasTooltip;" oncommand="PersonasRotator.installMoreOpen()" />
  42.                 
  43.                 <menuitem label="&personasrotator.PersonasRotator;"  tooltiptext="&personasrotator.PersonasRotatorTooltip;" oncommand="PersonasRotator.PersonasRotatorWindowChecknOpen()" />
  44.             
  45.             </menupopup>
  46.                     
  47.             <popup id="PersonasRotatorTabContextMenu" onpopupshowing="PersonasRotator.handleTabContextMenuPopup()">
  48.                 
  49.                 <menuitem id="personasrotator-addoncontext-uploadpersona" tooltiptext="&personasrotator.UploadThisPersonaTooltip;" class="menuitem-iconic" label="&personasrotator.UploadThisPersona;" oncommand="PersonasRotator.uploadPersona(event,document.popupNode.ownerDocument)"/>
  50.                 
  51.                 <menuitem id="personasrotator-addoncontext-visitpersonapage" tooltiptext="&personasrotator.VisitPersonaPageTooltip;" class="menuitem-iconic" label="&personasrotator.VisitPersonaPage;" oncommand="PersonasRotator.visitPersonaPage(event,document.popupNode.ownerDocument)"/>
  52.             
  53.             </popup>
  54.                         
  55.         </statusbarpanel>
  56.  
  57.     </statusbar>
  58.     
  59. -->
  60.  
  61.  
  62.     <menupopup id="personas-selector-menu">
  63.         
  64.         <menuseparator />    
  65.         
  66.         <menu label="Personas Rotator" id="personasrotator-menu" class="menu-iconic">
  67.             
  68.             <menupopup id="personasrotator-statusbar-menu">
  69.                 
  70.                 <menuitem label="Options" tooltiptext="Options" oncommand="window.open('chrome://personasrotator/content/setinterval.xul','PersonasRotatorOptions'+Math.random(),'chrome,centerscreen,modal');" />
  71.                 
  72.                 <menuitem label="&personasrotator.DisableRotation;" tooltiptext="Disable Rotation" id="personasrotator-disablerotation" oncommand="PersonasRotator.disableRotation()" />
  73.                 
  74.                 <menuitem label="&personasrotator.EnableRotation;" tooltiptext="Enable Rotation" id="personasrotator-enablerotation" oncommand="PersonasRotator.enableRotation()" />
  75.                     
  76.                 <!--<menuseparator />
  77.                     
  78.                 <menuitem label="&personasrotator.InstallMorePersonas;" tooltiptext="&personasrotator.InstallMorePersonasTooltip;" oncommand="PersonasRotator.installMoreOpen()" />
  79.                 
  80.                 <menuitem label="&personasrotator.PersonasRotator;"  tooltiptext="&personasrotator.PersonasRotatorTooltip;" oncommand="PersonasRotator.PersonasRotatorWindowChecknOpen()" />
  81.             -->
  82.             </menupopup>
  83.         
  84.         </menu>
  85.  
  86.  
  87.         
  88.     </menupopup>
  89.  
  90.     <popup id="contentAreaContextMenu">
  91.                 
  92.         <menuitem id="personasrotator-normalcontext-uploadpersona" class="menuitem-iconic" label="&personasrotator.UploadThisPersona;" oncommand="PersonasRotator.uploadPersona(event,document.popupNode.ownerDocument)"  hidden="true"/>
  93.         
  94.         <menuitem id="personasrotator-normalcontext-visitpersonapage" class="menuitem-iconic" label="&personasrotator.VisitPersonaPage;" oncommand="PersonasRotator.visitPersonaPage(event,document.popupNode.ownerDocument)" hidden="true"/>
  95.         
  96.     </popup>    
  97.  
  98. </overlay>